<?php
	

defined('_JEXEC') or die();
jimport('joomla.application.component.controller');

class NBEventMapsController extends JController
{
	function display()
	{
		$view = JRequest::getVar('view', '', '', 'str');
		if ($view == 'nbeventmaplist') {
			$view = & $this->getView( 'nbeventmaplist', 'html');
			$view->setModel( $this->getModel( 'nbeventmap' ), true );
			$view->display();
		} else {	
			if ($view == 'nbeventmapcontact') {
				$view = & $this->getView( 'nbeventmapcontact', 'html');
				$view->setModel( $this->getModel( 'nbeventmap' ), true );
				$view->display();
			} else{
				parent::display();
			};
		};
	}
}
